<script type="text/javascript">
/// event click on a link
$('.khoahoc').live('click', function() {
$('#chidoan').load(
   $(this).attr('href')
, function () {
   $(this).fadeIn(300);
});
return false;
});
</script>

<div class="index top">
<div style="float: left; width:200px; background:#d5d5d5">
<?php
    foreach($result as $khoa):
    echo '<li>';
    echo $html->link('Khóa '.$khoa['Khoahoc']['id'], array('controller'=>'z1sinhviens','action'=>'chidoan',$khoa['Khoahoc']['id']),array('class'=>'khoahoc'));
    echo '</li>';
    endforeach;
?>
</div>
<div style="float: right; width:700px;" id="chidoan">
</div>
</div>

<div class="index bottom" id="sinhvien">
</div>